-- CureAction
-- create by weism
-- 治疗加血

CureAction = class("CureAction", function()
    return ActionBase.create();
end);
function CureAction.create(source, target, cureHp)
    local self = CureAction.new();
    self.source = source;
    self.target = target;
    self.cureHp = cureHp;
    return self;    
end

-- 构造函数
function CureAction:ctor()
end

-- 开始播放
function CureAction:play()
    self.state = ActionState.PLAYING;
    
    -- TODO: 播放流程，直到动作播放完毕
    
    self.state = ActionState.END;
    return 0;
end

return CureAction;